package com.yc.chaoshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
@TableName("ums_user_address")
public class UmsUserAddress implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 用户id
     */
      private Integer userId;

      /**
     * 地址id
     */
      private Integer addressId;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public Integer getUserId() {
        return userId;
    }

      public void setUserId(Integer userId) {
          this.userId = userId;
      }
    
    public Integer getAddressId() {
        return addressId;
    }

      public void setAddressId(Integer addressId) {
          this.addressId = addressId;
      }

    @Override
    public String toString() {
        return "UmsUserAddress{" +
              "id=" + id +
                  ", userId=" + userId +
                  ", addressId=" + addressId +
              "}";
    }
}
